package eliauk.fun.flowabledemo.mapper;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

public interface CustomCommentMapper {

    @Select({ "select t.* from act_hi_comment t where t.PROC_INST_ID_ = #{procInstId}" })
    List<Map<String, Object>> selectCommentsByProcInstId(String procInstId);


    @Update("update from act_hi_actinst where ID_ = #{taskId}")
    void deleteHistoricActivityInstance(String id);
}
